﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package net.wooga.pets.events {
    import flash.events.*;
    import net.wooga.pets.views.components.*;

    public class ElementEvent extends Event {

        private var _element:ElementDisplay;
        private var _roomId:String;
        private var _destination:String;

        public static const MOVE_ELEMENT:String = "MOVE_ELEMENT";

        public function ElementEvent(_arg1:String, _arg2:ElementDisplay, _arg3:Boolean=false, _arg4:Boolean=false){
            super(_arg1, _arg3, _arg4);
            this._element = _arg2;
        }
        public function get element():ElementDisplay{
            return (this._element);
        }
        public function get roomId():String{
            return (this._roomId);
        }
        public function set roomId(_arg1:String):void{
            this._roomId = _arg1;
        }
        public function get destination():String{
            return (this._destination);
        }
        public function set destination(_arg1:String):void{
            this._destination = _arg1;
        }
        override public function clone():Event{
            var _local1:ElementEvent = new ElementEvent(type, this.element);
            _local1.roomId = this._roomId;
            _local1.destination = this._destination;
            return (_local1);
        }

    }
}//package net.wooga.pets.events 
